home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
olrdrs
/
qwkndt1a.zip
/
WWIVMAIL.SCR
< prev
next >
Wrap
Text File
|
1992-11-06
|
1KB
|
46 lines
# Sample script for logging on to a WWIV board running WWIVmail.
# replace YOURNAME, YOURPASS, and YOURPHONE with your name or handle,
# your password, and the last four digits of your phone number.
# This is only a model, and will probably need to be modified to
# some degree.
#
timeout 2
send " "
EXPECT "NN:" " " 10
send "YOURNAME\r"
expect "PW:"
send "YOURPASS\r"
expect "PH:"
send "YOURNUM\r"
# Wait for main menu prompt. Keep spacebarring anything else.
expect ") :" " " 5
# Go into chain section.
send "."
# Wait for chains prompt. Spacebar anything else.
expect ") :" " " 5
# Run chain number 5 (this will vary, of course).
send 5
# Jack up timeout value. Sometimes takes a while if there are a lot of
# msgs to pack up.
timeout 60
# Begin upload .REP section.
repbegin
# Wait for WWIVmail prompt.
expect ")>" "\r" 2
# Choose "upload .REP packet" option
send 3
# Wait for transfer protocol to fire up.
expect "MODEM"
# Upload it.
upload
# End upload .REP section.
repend
# Wait for WWIVmail prompt.
expect ")>" "\r" 2
# Choose "Download .QWK packet and log off" option.
send 2
# Wait for transfer protocol to start up.
expect "MODEM"
# Download that puppy!
download